//1.公共样式
require("../../assets/css/index.less");
//2.当前页面样式
require('./advertisement.less');
//3.公共JS
let dom = require('../../utils/dom.js')
//当前页面的js
dom.ready(function () {
    //自己书写的js
    
  let num=Number(time.innerHTML)
    let times = setInterval(function () {
        num--;
        if(num==0){
            clearInterval(times)
            location.href="http://localhost:4399/regisetr.html";
        } 
        time.innerHTML=num;
    }, 1000);

    let jump=document.querySelector('.jump');
    jump.addEventListener('click',function(){
        location.href="http://localhost:4399/regisetr.html";
    })
})